package com.sc.web.gwt.shared.model;

import com.extjs.gxt.ui.client.data.BaseModelData;
import com.google.gwt.user.client.rpc.IsSerializable;

public class AgentAdmin extends BaseModelData implements IsSerializable {
    private int agentAdminId;
    private String agentAdminAccount;
    private String agentAdminPassword;
    private String agentAdminName;
    private String agentAdminEmail;
    private String agentAdminPhoneNumber;
    private String agentAdminPosition;
    private String agentAdminCompany;
    private String siteName;
    private int stateId;
    private String state;

    public String getState() {
        return get("state");
    }

    public void setState(String state) {
        set("state", state);
    }

    public int getAgentAdminId() {
        return (Integer) get("agentAdminId");
    }

    public void setAgentAdminId(int agentAdminId) {
        set("agentAdminId", agentAdminId);
    }

    public String getAgentAdminAccount() {
        return get("agentAdminAccount");
    }

    public void setAgentAdminAccount(String agentAdminAccount) {
        set("agentAdminAccount", agentAdminAccount);
    }

    public String getAgentAdminPassword() {
        return get("agentAdminPassword");
    }

    public void setAgentAdminPassword(String agentAdminPassword) {
        set("agentAdminPassword", agentAdminPassword);
    }

    public String getAgentAdminName() {
        return get("agentAdminName");
    }

    public void setAgentAdminName(String agentAdminName) {
        set("agentAdminName", agentAdminName);
    }

    public String getAgentAdminEmail() {
        return get("agentAdminEmail");
    }

    public void setAgentAdminEmail(String agentAdminEmail) {
        set("agentAdminEmail", agentAdminEmail);
    }

    public String getAgentAdminPhoneNumber() {
        return get("agentAdminPhoneNumber");
    }

    public void setAgentAdminPhoneNumber(String agentAdminPhoneNumber) {
        set("agentAdminPhoneNumber", agentAdminPhoneNumber);
    }

    public String getAgentAdminPosition() {
        return get("agentAdminPosition");
    }

    public void setAgentAdminPosition(String agentAdminPosition) {
        set("agentAdminPosition", agentAdminPosition);
    }

    public String getAgentAdminCompany() {
        return get("agentAdminCompany");
    }

    public void setAgentAdminCompany(String agentAdminCompany) {
        set("agentAdminCompany", agentAdminCompany);
    }

    public String getSiteName() {
        return get("siteName");
    }

    public void setSiteName(String siteName) {
        set("siteName", siteName);
    }

    public int getStateId() {
        return (Integer) get("stateId");
    }

    public void setStateId(int stateId) {
        set("stateId", stateId);
    }

    public AgentAdmin(int agentAdminId, String agentAdminAccount, String agentAdminPassword, String agentAdminName, String agentAdminEmail, String agentAdminPhoneNumber, String agentAdminPosition, String agentAdminCompany, String siteName, int stateId, String state) {
        setAgentAdminId(agentAdminId);
        setAgentAdminAccount(agentAdminAccount);
        setAgentAdminPassword(agentAdminPassword);
        setAgentAdminName(agentAdminName);
        setAgentAdminEmail(agentAdminEmail);
        setAgentAdminPhoneNumber(agentAdminPhoneNumber);
        setAgentAdminPosition(agentAdminPosition);
        setAgentAdminCompany(agentAdminCompany);
        setSiteName(siteName);
        setStateId(stateId);
        setState(state);
    }

    public AgentAdmin() {
        super();
        setAgentAdminId(-1);
    }
}
